package com.cf.limit.core.frequency;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * game-server-IpLimitproperty
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/6/13 下午 07:11
 */
@Configuration
@ConfigurationProperties(prefix = "zmm.limit.ip")
public class IpLimitProperty {

    //超出警戒线5次加入黑名单
    private int blackTimes = 5;

    public int getBlackTimes() {
        return blackTimes;
    }

    public void setBlackTimes(int blackTimes) {
        this.blackTimes = blackTimes;
    }


}
